﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title></title>
    <script src="/Scripts/jquery-1.5.1.js" type="text/javascript"></script>    
    <script src="/Scripts/jquery-ui-1.8.11.js" type="text/javascript"></script>    
    <link href="/Content/themes/jb-original-ui/jquery.ui.all.css" type="text/css" rel="Stylesheet" />

    <style type="text/css">
        body{margin:0px; padding:0px; font-family: Verdana,"helvetica neue",Helvetica,Arial,sans-serif; font-size:12px; background-color:#daece8;}
        .jb-body{width:1020px; margin-left:auto; margin-right:auto;}
        .jb-top-menu-container{background-color:#19292E;}
        .jb-top-menu-content{padding:5px 0px; font-size:11px; font-weight:normal; color:#b1b1b1;}
        .jb-top-header-container{background-color:#19292E; background-image:url("/Content/Images/bg-header-holder.jpg"); background-repeat:repeat-x; height:100px;}
        .jb-shadow{box-shadow:0px 3px 3px #777777;}  
        .jb-footer{background-color:#19292E; min-height:50px; border-top:#a1c2ce 1px solid;}
    </style>
    <script type="text/javascript" language="javascript">
        $(document).ready(function () {
            // Dialog
            $('#dialog').dialog({
                autoOpen: false,
                width: 600,
                buttons: {
                    "Ok": function () {
                        $(this).dialog("close");
                    },
                    "Cancel": function () {
                        $(this).dialog("close");
                    }
                }
            });

            // Dialog Link
            $('#dialog_link').click(function () {
                $('#dialog').dialog('open');
                return false;
            });

            //hover states on the static widgets
            $('#dialog_link, ul#icons li').hover(
				function () { $(this).addClass('ui-state-hover'); },
				function () { $(this).removeClass('ui-state-hover'); }
			);
        });
    </script>
</head>
<body>
    <div class="jb-top-menu-container">
        <div class="jb-top-menu-content jb-body">Home</div>
    </div>
    <div class="jb-top-header-container jb-shadow"></div>
    <div id="divBodyContainer" class="jb-body">
        Another Day In Paradise
        <div>
            <a href="#" id="dialog_link" class="ui-state-default ui-corner-all"><span class="ui-icon ui-icon-newwin"></span>Open Dialog</a>
        </div>

        <!-- ui-dialog -->
		<div id="dialog" title="Dialog Title">
			<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
		</div>
    </div>   
    <div class="jb-footer">
        <div class="jb-body">
             
        </div> 
    </div>
</body>
</html>

<script language="javascript" type="text/javascript">
    var result = '[{"total_rows":"1","start_ts":"01/01/1970","rundown_title":"Test Basket 10","agl_editable":"1","rows":[["001001002","1100120927027425141/1100120927027429042/1100120927027429143/1100120927027429344"," ","1",{"tooltip":"'<table> <tr style=&quot;text-align: top&quot;> <td valign=&quot;top&quot;><IMG border=&quot;0&quot; height=&quot;90&quot; src=&quot;http://tv4ltv-dev:8080/getIMG?file=kf1/2012/09/17/1100120917027400806/IN_A46TZ4GM-VGUTESTIMPORT5_0274008&frame=FIRST&quot; /></td> <td valign=&quot;top&quot;></td> </tr> </table>'","image_height":"24","url":"http://tv4ltv-dev:8080/getIMG?file=kf1/2012/09/17/1100120917027400806/IN_A46TZ4GM-VGUTESTIMPORT5_0274008&frame=0","type":"image","image_width":"32"},{"link":"http://tv4ltv-dev.ardendo.se:80/ardome/op=info/id=1100120917027400806","value":"vgu test import 5","type":"string"},{"url":"/gui/debug.gif","type":"image","onclick":"debugWindow('1100120927027429344'); return false;"},{"url":"/gui/debug.gif","type":"image","onclick":"debugWindow('1100120927027429143'); return false;"},{"value":"itm","type":"string"}]],"update_ts":"2012-09-27 07:50:43.303760","last_batch":"1","stop_ts":"12/31/2169","batchid":"1100120927027425141_1348725044463","title":" Basket - Test Basket 10","related_items":[],"buttons":{"category_order":["perform","view","post","request","manage","remove","rdnelem","download","mselect","create","upload"],"category":{"request":{"title":"Request","list":[]},"create":{"title":"Create","list":[]},"remove":{"title":"Remove","list":[]},"perform":{"title":"Perform","list":[{"priority":"100","elemid":"rdn_action_reload_rundown","locked":null,"alt":"Reload","name":"reload","oneclick":"1","image":"/image/button/en/reload.gif","tooltip":"Reload","url":"/ardome/#","onclick":"reloadRundown()"},{"priority":"100","elemid":"rdn_action_delete_rundown","locked":null,"alt":"Delete","name":"remove","oneclick":"1","image":"/image/button/en/remove.gif","tooltip":"Remove","confirm":"Are you sure you want to delete selected Rundown/Project?","url":"op=rundown-delete/id=1100120927027425141/rdn_type=P/rdn_subtype=B//date=2012-09-27"}]},"post":{"title":"Submit to","list":[]},"mselect":{"title":"On Selected","list":[{"priority":"100","elemid":"rdn_action_invoke_precut","locked":null,"alt":"Precut","name":"precut","oneclick":"1","image":"/image/button/en/precut.gif","tooltip":"Open in PreCut","url":"/ardome/#","onclick":"multiInvoke('precut', 'edlp')"},{"priority":"100","elemid":"rdn_action_metadataexport","locked":null,"alt":"Create Metadata export XML","name":"metadataexport","oneclick":"1","image":"/image/button/en/metadataexport.gif","tooltip":"Create Metadata export XML","url":"/ardome/#","onclick":"multiInvokeNewWindow('metadata');"},{"priority":"100","elemid":"rdn_action_fcp","locked":null,"alt":"Create FCP XML","machack":"1","name":"fcp","oneclick":"1","image":"/image/button/en/fcp.gif","url":"/ardome/#","onclick":"multiFCPInvoke();"},{"priority":"100","elemid":"rdn_action_printbasket","locked":null,"alt":"Print metadata from basket","name":"printmetadata","oneclick":"1","image":"/image/button/en/printmetadata.gif","url":"/ardome/#","onclick":"printBasket();"},{"priority":"100","elemid":"rdn_action_basketmove","locked":null,"alt":"Move items to basket","name":"basketmove","oneclick":"1","image":"/image/button/en/basketmove.gif","tooltip":"Move items to basket","url":"/ardome/#","onclick":"showPerformFromBasketPage('move');"},{"priority":"100","elemid":"rdn_action_invoke_easycut","locked":null,"alt":"Easycut","name":"proxyedit","oneclick":"1","image":"/image/button/en/proxyedit.gif","tooltip":"Open in EasyCut","url":"/ardome/#","onclick":"multiInvoke('easycut', 'edl')"},{"priority":"100","elemid":"rdn_action_basketcopy","locked":null,"alt":"Copy items to basket","name":"basketcopy","oneclick":"1","image":"/image/button/en/basketcopy.gif","tooltip":"Copy items to basket","url":"/ardome/#","onclick":"showPerformFromBasketPage('copy');"},{"priority":"100","elemid":"rdn_action_delete_rows","locked":null,"alt":"Delete row","name":"remove","oneclick":"1","image":"/image/button/en/remove.gif","tooltip":"Remove","confirm":"Are you sure you want to delete selected rows?","url":"/ardome/#","onclick":"deleteRows()"}]},"rdnelem":{"title":"Element","list":[]},"view":{"title":"View","list":[]},"upload":{"title":"Upload","list":[]},"manage":{"title":"Manage","list":[]},"download":{"title":"Download","list":[]}}},"header":[{"value":"2012-09-27 07:40:05.055120","type":"string","label":"Created"},{"value":"_none","type":"string","label":"Owner"},{"fields":[{"value":"A46TZ4NF-TESTBASKET10","type":"string"},{"link":"http://tv4ltv-dev.ardendo.se:80/ardome/op=acledit/id=1100120927027425141","url":"/gui/keys.gif","type":"image"}],"type":"composite","label":"Id"},{"fields":[{"value":"1100120927027425141 ","type":"string"},{"url":"/gui/debug.gif","type":"image","onclick":"debugWindow('1100120927027425141')"}],"type":"composite","label":"Ardome Id"}]}]';
    var obj = eval ('(' + result + ')');
    alert(obj);
</script>